﻿using System.Collections.Generic;
using SDT.Libraries.Mapper;

namespace SDT.CodeSystem
{
    /// <summary>
    /// Defined by SinhNT
    /// </summary>
    public interface ICity
    {
        #region Properties
        CityCodes.Codes AreaCode { get; }
        CityCodes.Codes Code { get; }
        string CodeAsString { get; }
        string Name { get; }
        int Priority { get; }
        int nItems { get; }
        #endregion

        IList<IDistrict> Districts { get; }
        // Indexer
        IDistrict this[int id] { get; }
        IDistrict this[string ShortName] { get; }
        IList<IntStringMapItem> ToDistrictMapList();
    }
}